﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="user_PlanManage.aspx.cs" Inherits="UserWork_Plan_user_PlanManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../css.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../JS/WdatePicker.js"></script>
    <script language="javascript" type="text/javascript">
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" bordercolor="#111111" width="100%" class="px12">
			<tr height="30">
				<td width="3%" background="../../Image/topbg.jpg" align="center">
                <img height="16" src="../../Image/icon/right.gif">
                </td>
				<td background="../../Image/topbg.jpg" width="80">
                    <b>计划管理</b>
                </td>
				<td background="../../Image/topbg.jpg" align="right">
				</td>
			</tr>
	    </table>
    <div>
        &nbsp;
    </div>
    <table width=100% cellpadding=0 cellspacing=0 border=0 align="center">
        <tr>
        <td>
            <table width=100% cellpadding=0 cellspacing=0 border=0>  
                <tr>
                <td align=left height="25" style="font-size:14px;">
                 发布时间： &nbsp;
                 <asp:TextBox ID="txtBegin" runat="server" Width="110px" CssClass="TxCss" Height="17px" onClick="WdatePicker()">
                 </asp:TextBox> &nbsp;<asp:Button id="btnQuery" text="查  询" runat="server" onclick="btnQuery_Click"/>
                 &nbsp;&nbsp;
                 </td>
                </tr>
            </table>
        </td>
        </tr>
        <tr><td>&nbsp;</td></tr>
        <tr>
        <td>
        <asp:Repeater ID="rpPlan" runat="server" >
            <HeaderTemplate>
                <table border="1px" bordercolor="#CCCCCC" cellpadding="0" cellspacing="0" align="left" style="font-size:14px; width:90%;">
                    <tr style="text-align:center;">
                        <td><b>计划编号</b></td>
                        <td><b>计划名称</b></td>
                        <td><b>完成情况</b></td>
                        <td><b>重要程度</b></td>  
                        <td><b>任务类型</b></td>                       
                        <td><b>操作</b></td>
                    </tr>
            </HeaderTemplate>    
            <ItemTemplate>
                    <tr>
                        <td><%# Eval("ID")%></td>
                        <td><a href="user_MyPlan.aspx?id=<%# Eval("ID") %>&type=1" target="main"><%# Eval("PlanSubject").ToString()%></a></td>
                        <td><%# Eval("PlanBody")%></td> 
                        <td><%# Eval("Progress")%></td> 
                        <td><%# Eval("Category")%></td>                    
                        <td>
                            <a href="user_MyPlan.aspx?id=<%# Eval("ID") %>&type=2" target="main">修改</a>
                            <a href="user_MyPlan.aspx?id=<%# Eval("ID") %>&type=3" target="main">删除</a>
                        </td>
                    </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>    
            </FooterTemplate>
        </asp:Repeater> 
        </td>
        </tr>
        </table>
        <tr><td>&nbsp;</td></tr>

         <table  width=100% cellpadding=0 cellspacing=0 border=0 align=center>
        <tr>
            <td>
            当日感悟:
                <asp:TextBox ID="txtUser" runat="server" TextMode="MultiLine" Wrap="true" Height="45px" Width="80%"></asp:TextBox>  
                <asp:Button ID="btnEdit" runat="server" Text="提交" onclick="btnEdit_Click" class="BnCss"/>
            </td>
        </tr>
        <tr>
            <td>&nbsp;
            </td>
        </tr>

        <tr>
            <td>
            经理评述:
                <asp:TextBox ID="txtManager" runat="server" Width="80%" Enabled="false" TextMode="MultiLine" Wrap="true" Height="45px">
                </asp:TextBox>  
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
